package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.DestinationFilter;
import cn.wolfcode.luowowo.article.query.DestinationFilterQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author: linzhongjian
 * @email 911976613@qq.com
 * @Date: 2019/9/26 23:34
 * <p>
 * 功能描述: 目的地数据过滤对象
 */
public interface IDestinationFilterService {

    /**
     * 分页查询
     * @param qo
     * @return
     */
    PageInfo query(DestinationFilterQuery qo);
    /**
     * 添加/更新
     * @param destinationFilter
     */
    void saveOrUpdate(DestinationFilter destinationFilter);
    /**
     * 查询所有
     * @return
     */
    List<DestinationFilter> list();
}
